#pragma once

#include "imgui/imgui.h"
#include "ogl/gut/types.h"

using namespace Ogl::Gut;

namespace ImGui
{

    namespace Gut
    {
        struct Editor
        {
            bool Show(const Ogl::Gut::Texture2D *tex, ImVec2 sz = {50, 50});

            void Framebuffer(const Ogl::Gut::Texture2D *tex, ImVec2 sz = {80, 80}, ImVec2 uv0 = {0, 1}, ImVec2 uv1 = {1, 0});

            void AddFramebuffer(const Ogl::Gut::Texture2D *tex, ImVec2 uv0 = {0, 1}, ImVec2 uv1 = {1, 0});

            bool MousePos(float &xa, float &ya);
            
        };
    };
};